package com.bootdo.member.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 用户表
 * 
 * @author lujingqian
 * @email 2100272728@qq.com
 * @date 2019-11-08 14:04:00
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class ShequMember extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//openid
		@HapiFeild("openid")
	private String openid;
	
	//昵称
		@HapiFeild("昵称")
	private String nickname;
	
	//性别
		@HapiFeild("性别")
	private String sex;
	
	//年龄
		@HapiFeild("年龄")
	private Integer age;
	
	//城市id
		@HapiFeild("城市id")
	private Long cityId;
	
	//城市名称
		@HapiFeild("城市名称")
	private String cityName;
	
	//电话
		@HapiFeild("电话")
	private String mobile;
	
	//头像
		@HapiFeild("头像")
	private String avatar;
	
	//密码
		@HapiFeild("密码")
	private String password;
	
	//推荐人电话
		@HapiFeild("推荐人电话")
	private String refereeMobile;
	
	//推荐人id
		@HapiFeild("推荐人id")
	private Long refereeId;
	
	//推荐奖金
		@HapiFeild("推荐奖金")
	private Double refereeMoney;
	
	//推荐时间
		@HapiFeild("推荐时间")
	private Date refereeTime;
	
	//手机类型
		@HapiFeild("手机类型")
	private String mobileType;
	
	//金额
		@HapiFeild("金额")
	private Double money;
	
	//注册时间
		@HapiFeild("注册时间")
	private Date createTime;
	
	//支付密码
		@HapiFeild("支付密码")
	private String payPassword;
	
	//是否停用
		@HapiFeild("是否停用")
	private Integer isShow;
	
	//注册时间
		@HapiFeild("注册时间")
	private Long subscribeTime;
	
	//城市
		@HapiFeild("城市")
	private String city;
	
	//省级
		@HapiFeild("省级")
	private String province;
	
	//区县
		@HapiFeild("区县")
	private String country;
	
	//真实姓名
		@HapiFeild("真实姓名")
	private String realName;
	
	//身份证号
		@HapiFeild("身份证号")
	private String idCard;
	
	//联系方式
		@HapiFeild("联系方式")
	private String contactMobile;
	
	//是否为核销人员
		@HapiFeild("是否为核销人员")
	private Integer isAdmin;
	
	//积分
		@HapiFeild("积分")
	private Double integral;
	
	//小区id
		@HapiFeild("小区id")
	private Long communityId;
	
	//小区名称
		@HapiFeild("小区名称")
	private String communityName;

    //户主楼号
		@HapiFeild("户主楼号")
	private String roomNumber;

    public ShequMember(){
    
    	this.createTime = new Date();
    	this.sex="男";
    	this.integral=0.00;
    	this.isShow=0;
    }

	/**
	 * 获取：户主楼号
	 */
	public String getRoomNumber() {
		return roomNumber;
	}
	/**
	 * 设置：户主楼号
	 */
	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：openid
	 */
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	/**
	 * 获取：openid
	 */
	public String getOpenid() {
		return openid;
	}
	/**
	 * 设置：昵称
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	/**
	 * 获取：昵称
	 */
	public String getNickname() {
		return nickname;
	}
	/**
	 * 设置：性别
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}
	/**
	 * 获取：性别
	 */
	public String getSex() {
		return sex;
	}
	/**
	 * 设置：年龄
	 */
	public void setAge(Integer age) {
		this.age = age;
	}
	/**
	 * 获取：年龄
	 */
	public Integer getAge() {
		return age;
	}
	/**
	 * 设置：城市id
	 */
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：城市id
	 */
	public Long getCityId() {
		return cityId;
	}
	/**
	 * 设置：城市名称
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	/**
	 * 获取：城市名称
	 */
	public String getCityName() {
		return cityName;
	}
	/**
	 * 设置：电话
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：电话
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：头像
	 */
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	/**
	 * 获取：头像
	 */
	public String getAvatar() {
		return avatar;
	}
	/**
	 * 设置：密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 获取：密码
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置：推荐人电话
	 */
	public void setRefereeMobile(String refereeMobile) {
		this.refereeMobile = refereeMobile;
	}
	/**
	 * 获取：推荐人电话
	 */
	public String getRefereeMobile() {
		return refereeMobile;
	}
	/**
	 * 设置：推荐人id
	 */
	public void setRefereeId(Long refereeId) {
		this.refereeId = refereeId;
	}
	/**
	 * 获取：推荐人id
	 */
	public Long getRefereeId() {
		return refereeId;
	}
	/**
	 * 设置：推荐奖金
	 */
	public void setRefereeMoney(Double refereeMoney) {
		this.refereeMoney = refereeMoney;
	}
	/**
	 * 获取：推荐奖金
	 */
	public Double getRefereeMoney() {
		return refereeMoney;
	}
	/**
	 * 设置：推荐时间
	 */
	public void setRefereeTime(Date refereeTime) {
		this.refereeTime = refereeTime;
	}
	/**
	 * 获取：推荐时间
	 */
	public Date getRefereeTime() {
		return refereeTime;
	}
	/**
	 * 设置：手机类型
	 */
	public void setMobileType(String mobileType) {
		this.mobileType = mobileType;
	}
	/**
	 * 获取：手机类型
	 */
	public String getMobileType() {
		return mobileType;
	}
	/**
	 * 设置：金额
	 */
	public void setMoney(Double money) {
		this.money = money;
	}
	/**
	 * 获取：金额
	 */
	public Double getMoney() {
		return money;
	}
	/**
	 * 设置：注册时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：注册时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：支付密码
	 */
	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword;
	}
	/**
	 * 获取：支付密码
	 */
	public String getPayPassword() {
		return payPassword;
	}
	/**
	 * 设置：是否停用
	 */
	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}
	/**
	 * 获取：是否停用
	 */
	public Integer getIsShow() {
		return isShow;
	}
	/**
	 * 设置：注册时间
	 */
	public void setSubscribeTime(Long subscribeTime) {
		this.subscribeTime = subscribeTime;
	}
	/**
	 * 获取：注册时间
	 */
	public Long getSubscribeTime() {
		return subscribeTime;
	}
	/**
	 * 设置：城市
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * 获取：城市
	 */
	public String getCity() {
		return city;
	}
	/**
	 * 设置：省级
	 */
	public void setProvince(String province) {
		this.province = province;
	}
	/**
	 * 获取：省级
	 */
	public String getProvince() {
		return province;
	}
	/**
	 * 设置：区县
	 */
	public void setCountry(String country) {
		this.country = country;
	}
	/**
	 * 获取：区县
	 */
	public String getCountry() {
		return country;
	}
	/**
	 * 设置：真实姓名
	 */
	public void setRealName(String realName) {
		this.realName = realName;
	}
	/**
	 * 获取：真实姓名
	 */
	public String getRealName() {
		return realName;
	}
	/**
	 * 设置：身份证号
	 */
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	/**
	 * 获取：身份证号
	 */
	public String getIdCard() {
		return idCard;
	}
	/**
	 * 设置：联系方式
	 */
	public void setContactMobile(String contactMobile) {
		this.contactMobile = contactMobile;
	}
	/**
	 * 获取：联系方式
	 */
	public String getContactMobile() {
		return contactMobile;
	}
	/**
	 * 设置：是否为核销人员
	 */
	public void setIsAdmin(Integer isAdmin) {
		this.isAdmin = isAdmin;
	}
	/**
	 * 获取：是否为核销人员
	 */
	public Integer getIsAdmin() {
		return isAdmin;
	}
	/**
	 * 设置：积分
	 */
	public void setIntegral(Double integral) {
		this.integral = integral;
	}
	/**
	 * 获取：积分
	 */
	public Double getIntegral() {
		return integral;
	}
	/**
	 * 设置：小区id
	 */
	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}
	/**
	 * 获取：小区id
	 */
	public Long getCommunityId() {
		return communityId;
	}
	/**
	 * 设置：小区名称
	 */
	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}
	/**
	 * 获取：小区名称
	 */
	public String getCommunityName() {
		return communityName;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
